/**
 * 
 */
package uit.comstore.model.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author XIII
 *
 */
@Entity
@Table(name="Manufacturers")
@SuppressWarnings("serial")
public class Manufacturer implements Serializable {

	private Long id;
	private String name;
	private String image;
	private String url;
	
	@Id
	@GeneratedValue
	@Column(name="ManufacturersId")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name="ManufacturersName")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@Column(name="ManufacturersImage")
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	
	@Column(name="ManufacturersURL")
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
}
